local qiangzhi_vs = fk.CreateSkill{
  name = "#wk_heg__qiangzhi_vs",
}

Fk:loadTranslationTable{
  ["#wk_heg__qiangzhi_vs"] = "强识",
}


qiangzhi_vs:addEffect("viewas",{
  interaction = function(self, player)
    local names = {}
    local mark = player:getMark("wk_heg__qiangzhi-phase")
    for _, id in ipairs(Fk:getAllCardIds()) do
      local card = Fk:getCardById(id, true)
      if table.contains(mark, card.name) and (card:isCommonTrick() or card.type == Card.TypeBasic) then
        table.insertIfNeed(names, card.name)
      end
    end
    return UI.CardNameBox{choices = names}
  end,
  card_filter = Util.FalseFunc,
  view_as = function(self, cards)
    if not self.interaction.data then return end
    local card = Fk:cloneCard(self.interaction.data)
    return card
  end,
})

return qiangzhi_vs